CarNavigationInfoObserver

class CarNavigationInfoObserver(carActiveGuidanceCarContext: CarActiveGuidanceCarContext)

Observe MapboxNavigation properties that create NavigationInfo.

Attach the start functions to start observing navigation info.

Constructors

CarNavigationInfoObserver
Link copied to clipboard
fun CarNavigationInfoObserver(carActiveGuidanceCarContext: CarActiveGuidanceCarContext)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
start
Link copied to clipboard
fun start(onNavigationInfoChanged: () -> Unit)
stop
Link copied to clipboard
fun stop()
toString
Link copied to clipboard
open fun toString(): String

Properties

navigationInfo
Link copied to clipboard
var navigationInfo: NavigationTemplate.NavigationInfo? = null
travelEstimateInfo
Link copied to clipboard
var travelEstimateInfo: TravelEstimate? = null